mmc: Implement SD/MMC versioning properly
authorPantelis Antoniou <[email protected]>
Fri, 23 Jan 2015 10:12:01 +0000 (12:12 +0200)
committerPantelis Antoniou <[email protected]>
Mon, 23 Feb 2015 17:34:29 +0000 (19:34 +0200)
commit4b7cee533630202095748ecb396bd9eacf47ff3f
tree00c86c2dcc3e72286fdece81acf823b0e3e60205
parent46414296953410706e917cef9238926084e83a4b
mmc: Implement SD/MMC versioning properly

The SD/MMC version scheme was buggy when dealing with standard
major.minor.change cases. Fix it by using something similar to
the linux's kernel versioning method.

Signed-off-by: Pantelis Antoniou <[email protected]>
Tested-by: Jaehoon Chung <[email protected]>
Reported-by: Stephen Warren <[email protected]>
Tested-by: Stephen Warren <[email protected]>
common/cmd_mmc.c
include/mmc.h